import { createApp } from 'vue';

// #region router
import router from './routers';
// #endregion

// #region vuex
import { store, key } from './store';
// #endregion

// #region ElementPlus
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import zhCn from 'element-plus/es/locale/lang/zh-cn';
// #endregion

import App from './App.vue';

const app = createApp(App);
app.use(router);
app.use(store, key);
app.use(ElementPlus, { locale: zhCn });
app.mount('#app');
